Systems, methods, and computer-readable media for interpreting geographical search queries

ABSTRACT

Systems, methods, and computer-readable media for interpreting geographical search queries are provided. Query templates for geographical search queries are generated from search logs of previously executed geographical search queries. Unique queries are extracted from the search logs and interpretations for these queries are obtained. Based on these interpretations, query templates having an arrangement of term types are extracted. Additionally, probability distributions for the query templates for a context, such as a locale, language, client type, etc., are determined.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of and claims priority to U.S. patentapplication Ser. No. 13/801,023 filed on Mar. 13, 2013 and entitled“Systems, Methods, and Computer-Readable Media for InterpretingGeographical Search Queries,” the entire disclosure of which is herebyexpressly incorporated by reference herein.

BACKGROUND OF THE INVENTION 1. Field of the Invention

This invention relates generally to computer-implemented searching ofgeographic areas and more particularly to processing queries forsearching geographic areas.

2. Description of the Related Art

The Internet provides many different types of information and is usefulfor a variety of purposes. For example, users may use the Internet toretrieve information about businesses or other entities, viewinteractive maps, search for geographic areas, etc. Users searching ageographic area may user interactive maps and web search engines toenter a query, such as an address, and receive results, such as anindicator on an interactive map. However, such users may be fromdifferent countries, may use different languages, and may enter queriesusing different words and arrangements of words. As a result, thequeries received from such users may have varying structures and may bedifficult to interpret. The difficulties in interpreting such queriesmay result in providing incorrect and inaccurate responses to thequeries. Furthermore, incorrect and inaccurate interpretations mayresult in users entering longer and more specific queries in order toobtain correct and accurate results.

SUMMARY OF THE INVENTION

Various embodiments of systems, methods, and computer-readable media forinterpreting geographical search queries are provided herein. In someembodiments, a computer-implemented method for interpreting geographicalsearch queries is provided. The computer-implemented method includesobtaining, by one or more processors a plurality of geographical searchqueries from a log of executed geographical search queries, each of theplurality of geographical search queries comprising one or more termsand determining by one or more processors, a plurality of querytemplates based on the plurality of geographical search queries, each ofthe plurality of query templates comprising one or more term typesdetermined from the one or more terms. The computer-implemented methodfurther includes determining, by one or more processors, a probabilitydistribution for the query templates for a context and storing, on amemory accessible by the one or more processors, the plurality of querytemplates and the probability distribution. Finally, thecomputer-implemented method also includes providing, by one or moreprocessors, the plurality of query templates as a plurality ofinterpretation candidates for interpreting a geographical search queryreceived from a client computer.

Additionally, a non-transitory tangible computer-readable storage mediumhaving executable computer code stored thereon for interpretinggeographical search queries is provided. The code includes a set ofinstructions that causes one or more processors to perform thefollowing: obtaining, by one or more processors a plurality ofgeographical search queries from a log of executed geographical searchqueries, each of the plurality of geographical search queries comprisingone or more terms and determining by one or more processors, a pluralityof query templates based on the plurality of geographical searchqueries, each of the plurality of query templates comprising one or moreterm types determined from the one or more terms. The code furtherincludes a set of instructions that causes one or more processors toperform the following: determining, by one or more processors, aprobability distribution for the query templates for a context andstoring, on a memory accessible by the one or more processors, theplurality of query templates and the probability distribution. Finally,the code also includes a set of instructions that causes one or moreprocessors to perform the following: also includes providing, by one ormore processors, the plurality of query templates as a plurality ofinterpretation candidates for interpreting a geographical search queryreceived from a client computer.

In some embodiments, a system for interpreting geographical searchqueries is provided. The system includes one or more processors andnon-transitory memory accessible by the one or more processors, thememory having computer code stored thereon. The code includes a set ofinstructions that causes one or more processors to perform thefollowing: obtaining, by one or more processors a plurality ofgeographical search queries from a log of executed geographical searchqueries, each of the plurality of geographical search queries comprisingone or more terms and determining by one or more processors, a pluralityof query templates based on the plurality of geographical searchqueries, each of the plurality of query templates comprising one or moreterm types determined from the one or more terms. The code furtherincludes a set of instructions that causes one or more processors toperform the following: determining, by one or more processors, aprobability distribution for the query templates for a context andstoring, on a memory accessible by the one or more processors, theplurality of query templates and the probability distribution. Finally,the code also includes a set of instructions that causes one or moreprocessors to perform the following: also includes providing, by one ormore processors, the plurality of query templates as a plurality ofinterpretation candidates for interpreting a geographical search queryreceived from a client computer.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram that illustrates a system in accordance with anembodiment of the present invention;

FIG. 2 is a block diagram depicting a process for interpretationgeographical search queries in accordance with an embodiment of thepresent invention;

FIG. 3 is a block diagram depicting a process for interpretationgenerating query templates in accordance with an embodiment of thepresent invention;

FIG. 4 is a block diagram illustrating a data structure for transmittingor storing query templates in accordance with an embodiment of thepresent invention;

FIGS. 5A-5D are block diagrams depicting geographical search queries andcorresponding interpretation candidates/query templates in accordancewith an embodiment of the present invention;

FIG. 6 is a block diagram depicting a process for providing of querytemplates to other processes for different determinations;

FIG. 7 is a block diagram illustrating a system in accordance with anembodiment of the present invention;

FIG. 8 is a block diagram of a computer in accordance with an embodimentof the present invention.

While the invention is susceptible to various modifications andalternative forms, specific embodiments thereof are shown by way ofexample in the drawings and will herein be described in detail. Thedrawings may not be to scale. It should be understood, however, that thedrawings and detailed description thereto are not intended to limit theinvention to the particular form disclosed, but to the contrary, theintention is to cover all modifications, equivalents, and alternativesfalling within the spirit and scope of the present invention as definedby the appended claims.

DETAILED DESCRIPTION

As discussed in more detail below, provided in some embodiments aresystems, methods, and computer-readable media for generating querytemplates for geographical search queries and interpreting geographicalsearch queries. In some embodiments, query templates for geographicalsearch queries are generated from search logs of previously executedgeographical search queries. Unique queries are extracted from thesearch logs and interpretations for these queries are obtained from amap search engine and, in some embodiments, additional signals from useractions. Based on these interpretations, query templates having anarrangement of term types are extracted. Additionally, probabilitydistributions for the query templates for a context, such as a locale,language, client type, etc., are determined. Each query template mayhave a probability of being a correct interpretation of a query for acontext or multiple contexts. The query templates are indexed and usedto provide interpretation candidates for geographical search queries.

A geographical search query is obtained and, based on the querytemplates described above, interpretation candidates for the query aredetermined. The probability of each interpretation candidate of eachinterpretation candidate being the correct interpretation may also beobtained and assigned to each interpretation candidates. Based on theseprobabilities and, in some embodiments, other criteria, theinterpretation candidates for the geographical search query are scoredand ranked.

FIG. 1 is a diagram that illustrates a system 100 in accordance withembodiments of the present invention. As shown in FIG. 1, the system 100includes a client 102 in communication with servers 106 over a network108. such that the client 102 transmits data to and receive data fromthe servers 106. In some embodiments, the client 102 includesthick-clients, thin-clients, or both. The client 102 may be, forexample, computers, such smartphones, tablet computers, laptopcomputers, desktop computers, etc. In some embodiments, the system 100may include multiple clients 102. The servers 106 may include a singleserver (in a discrete hardware component or as a virtual server) ormultiple servers. The servers 106 may include web servers, applicationservers, or other types of servers. The servers 106 may be, for example,computers arranged in any physical and virtual configuration, such ascomputers in one or more data processing centers, a distributedcomputing environment, or other configuration. Such configurations mayuse the network 108 for communication or may communicate over othernetworks. The network 108 includes any suitable network, such as theInternet, an intranet, a local area network (LAN), a wide area network(WAN), or any other suitable network.

The servers 106 may include a geographic information system (GIS), asearch engine, web services, or any combination of these systems. Insuch embodiments, the computer 102 transmits a geographical search query110 to the servers 106. For example, the computer 102 presents a searchweb page or an interactive map to a user, and the user inputs ageographical search query on the computer 102 to search a geographicalarea. After receiving the inputted query, the computer 102 transmits arequest 112 containing the query 110 to the servers 106.

The servers 106 receive and process the geographical search query 110.As described further below, the servers 106 interpret the geographicalsearch query 110 based on query templates that correspond to possibleinterpretations of the geographical search query 110. After determiningpossible interpretations and selecting one or more interpretations ofthe geographical search query 110, the servers 106 provide results basedon the selected interpretations, such as from a search engine. Thesystem 100 respond to geographical search query from the client 102 byproviding geographic data to the clients 102. The servers 106 send aresponse 114 containing the data responsive to the query over thenetwork 108 to the client 102. As shown in FIG. 1, the response 114includes search results 116. For example, for a given geographic searchquery for a type of entity located in a geographic area, the searchresults 116 include entities located in the geographic area.

A geographical search query may include one, two, three, four, or anynumber of terms in various arrangements. Such terms may include termsthat form an address or other terms that do not form an address but areused to query a geographical search query. Geographical search queriesmay include, for example, “5 wall st ny,” “5^(th) ave ny,” “Eiffeltower,” and “new york.” As described below, these terms and arrangementsof terms may form the basis of query templates used to interpretgeographical search queries received from a client computer.

FIG. 2 depicts a process 200 for interpreting geographical searchqueries in accordance with embodiments of the present invention. Some orall steps of the process 200 may be implemented as executable codeinstructions stored on a non-transitory tangible machine readable mediumand executed by a processor (e.g., one or more processors) of a computer(e.g., one or more computers). Initially, a geographical search query isobtained (block 202), such as from a client computer as described above.Next, interpretations candidates for the search query are determined(block 204), such as from geographic search query templates 206. Asdescribed below and illustrated in FIG. 3, the geographic search querytemplates are generated from previously executed geographical searchqueries and results.

Next, interpretation probabilities are assigned to the interpretationcandidates for the geographical search query (block 208). Eachinterpretation candidate determined from the geographical search querytemplates 206 is associated with a probability indicating the likelihoodof the interpretation candidate being the correct interpretation for thegeographical search query. Based on these probabilities and, in someembodiments, other criteria, scores are assigned to the interpretationcandidates for the geographical search query (block 210). For example,the scores, and subsequent rankings, may be based on other criteria,such as the popularity of a result produced by an interpretationcandidate, the distance between a result produced by the interpretationcandidate and a user's location, etc.

Next, the interpretation candidates are ranked based on the assignedscores (block 212). After ranking, results for the geographical searchquery are provided based on the interpretation candidates (block 214).The results are obtained from a geographical search engine 216, such asby executing one or more interpretation candidates by the geographicalsearch engine 216. In some embodiments, the highest rankedinterpretation candidate for the geographical search query is selectedand used to provide a result to the geographical search query. In otherembodiments, two, three, four, or more of the highest rankedinterpretation candidates may be selected and used to provide multipleresults to the geographical search query. In such an embodiment, theresults are provided with a request to a user for confirmation of thecorrect interpretation candidate and result.

As described above, a geographical search query is evaluated againstquery templates to determine interpretation candidates for thegeographical search query. The query templates are generated (alsoreferred to as “mined”) from previously executed geographical searchqueries having a set of terms. FIG. 3 depicts a process 300 forgenerating query templates from previously executed geographical searchquery logs. Initially, geographical search query logs are obtained(block 302), such as from a map search engine (block 304). For example,the geographical search query logs may be logs of geographical searchqueries received from users and executed by the map search engine 304.Additionally, in some embodiments, the geographical search query logsare specific to a particular context, such as a particular language,locale, country, domain (e.g., .com, .de, etc.), other suitable contextsor combination thereof. In other embodiments, the geographical searchquery logs correspond to multiple contexts, such as multiple locales,languages, countries, domains, etc.

Next, unique queries from the query log are determined (block 306). Thegeographical search query logs may include duplicate queries. Theduplicate queries are removed by determining the unique queries from thequery logs for further processing. Next, the interpretation for eachunique query is determined (block 308). In some embodiments, theinterpretation for each unique query is determined by executing thequery in the map search engine 304 or from query logs. Additionally, insome embodiments, the interpretation for a query is determined fromadditional signals from user actions (block 309). For example, in someembodiments, subsequent user actions after query execution may provideindications of a probable query interpretation. Such user actions mayinclude, for example, a user selecting a search result, reading a webpage of a search results, entering a subsequent query (e.g., refining aquery by adding additional terms), and so on.

After determining the interpretations for each unique query, querytemplates are extracted from the interpretations (block 310). The querytemplates may include any number of term types in any arrangement. Theterm types may include, for example, address numbers, routes (e.g.,streets, roads, or other transportation paths having names), cities,countries, postal codes, locales, localities, provinces, states, etc.Additionally, term types may include types for bodies of water, terrainfeatures (e.g., mountains, contoured terrain), points of interest (e.g.,landmarks, tourist attractions, etc.), political districts or divisions,transit system components (e.g., railway stations, bus stations, etc.),or other suitable term types. Thus, examples of the query templates mayinclude: address route city state; city state; route address; route citystate; route city; or any suitable arrangement of term types.

Next, the unique query templates are counted (block 312). Afterextracting query templates from the interpretations, any duplicate querytemplates are removed by counting the unique query templates. Next, theprobability distributions for query templates for specific contexts aredetermined (block 314). As mentioned above, such contexts may include alanguage, a locale, a client type (e.g., desktop or mobile) or othercontexts. Here again, in some embodiments, the probabilities may bedetermined using the additional signals from user actions (block 309).The probability distributions provide the likelihood that a querytemplate is the correct interpretation for a given geographical searchquery for a context. For example, geographical search queries receivedfrom a first locale (e.g., Romania) may follow a different arrangementof term types than a geographical search query received from a secondlocale (e.g., the U.S.A.). Moreover, for a specific context, such as aspecific locale, variations in the arrangement of terms in ageographical search query result in multiple query templates each havinga different probability of being a correct interpretation of a query forthat context. These probabilities may be used to evaluate a geographicalsearch query received from a user. For example, such a geographicalsearch query may include the query “zurich 9000”. Based on the generatedquery templates, such a query may include interpretation candidates of“city postal code” and “street_number route”. Each of theseinterpretation candidates may have a probability of being the correctinterpretation. For example, the interpretation candidate “city postalcode” may have a probability of 65%, and the interpretation candidate“street_number route” may have a probability 23%. As described above,this probability is used in the scoring and ranking of interpretationcandidates for the geographical search query of “zurich 9000” whendetermining the appropriate result to the query.

The query templates 316 and, in some embodiments, the probabilitydistributions, are stored and used in further processing. In someembodiments, the query templates 316 are indexed (block 318) to provideindexed query templates 320. For example, the indexing enables fastersearching and retrieval of the query templates during processing ageographical search query. In some embodiments, the query templategeneration process is executed “offline” to predetermine query templatesfor use by in processing search queries. For example, after accumulatingquery logs and user actions, additional query templates may be generatedand incorporated into the templates available for query interpretations.Further, in some embodiments, processing of queries, as described inFIG. 2, may be performed without templates using the map search engine.After sufficient data is accumulated, templates may be generated toimprove performance and accuracy of query processing.

As mentioned above, the query templates are stored, such as in a datarepository (e.g., a database). FIG. 4 depicts an example of a datastructure 400 for storing query templates, transmitting query templates,or both. The data structure 400 may be stored as a message for packagingand transmission, as a record in a table of database, etc. Thediscussion of the data structure 400 refers to various attributes andvalues that are associated via any suitable structure, such as key-valuepairs, rows and columns of a table, etc. The data structure 400 mayinclude any number of columns and information suitable for storage witha query template. As shown in FIG. 4, attributes of the data structure400 includes feature type 402, query template 404, language 406, country408, count 410, and type 412.

The feature type 402 identifies the type of result produced byinterpreting a query using the query template identified by the querytemplate attribute 404. For example, a result identifies a route, acity, a province, a state, a country, or any other geographic area oridentification. The query template 404 stores the sequence of term typesfor the query template.

Additional attributes of the data structure 400 identify variouscontexts for a query or query template. For example, the language 406identifies the language of a query or query template. The country 408identifies the country code where a query originated from, such asidentifying the country by IP address, country code, or otheridentifier. The count 410 identifies the count of the template, such asthe count determined above in FIG. 3 that is used in probabilitydeterminations for a query template. Finally, the data structure 400includes a query type 412 identifying a type of a query. For example,the query type 412 may refer to a client type, e.g., desktop or mobile.

FIGS. 5A-5B depict various geographical search queries and correspondinginterpretation candidates/query templates in accordance with embodimentsof the present invention. As mentioned above, however, any one of thegeographical search queries may have two or more interpretationcandidates, although only one interpretation candidate is depicted inFIGS. 5A-5D.

FIG. 5A depicts a geographical search query 500 of “5 wall st. ny”. Asshown in FIG. 5A, this geographical search query 500 has aninterpretation candidate 502 of “street_number route locality” such thatthe term “5” of the query 500 corresponds to a term type of“street_number”, the term “wall st”. of the query 500 corresponds to aterm type of “route”, and the term “ny” of the query corresponds to aterm type of “locality”. Thus, as described above, this interpretationcandidate is derived from a query template have a term type arrangementof “street_number route locality”.

FIG. 5B depicts a geographical search query 504 of “5th ave nt”. Asshown in FIG. 5B, this geographical search query 504 has aninterpretation candidate 506 of “route locality”. Based on thisinterpretation candidate, the term “5th ave” of the query 506corresponds to a term type of “route” and the term “ny” of the query 506corresponds to a term type of “locality”. Thus, as described above, thisinterpretation candidate is derived from a query template have a termtype arrangement of “route locality”.

FIG. 5C depicts a geographical search query 508 of “eiffel tower”. Asshown in FIG. 5C, this geographical search query 508 has aninterpretation candidate 510 of “entity_poi”. Thus, based on theinterpretation candidate 510, the term “eiffel tower” of the query 508corresponds to a single term type (“entity_poi”) for a point ofinterest. The query template for the interpretation candidate 510 maythus be the term type arrangement of “entity_poi”.

Finally, FIG. 5D depicts a geographical search query 512 of “new york”.As shown in FIG. 5D, this geographical search query 512 has aninterpretation candidate 514 of “locality”. Thus, based on theinterpretation candidate 514, the term “new york” of the query 508corresponds to a single term type of “locality”. As mentioned above, ageographical search query may have multiple interpretation candidates.For example, “new york” may be interpreted based on query templates ofterm type “locality” and term type “state”. Each of these querytemplates may have a different probability of being the correctinterpretation, and selection of interoperation candidates is based on ascoring and ranking that incorporates these probabilities.

In some embodiments, query templates are provided to other processes foranalysis and determination of different data. FIG. 6 depicts a process660 illustrating the providing of query templates 602 to various otherprocesses for different determinations. In some embodiments, forexample, the changes to the query templates are analyzed over a timeperiod (block 604). As noted above, query templates may be generatedperiodically, such as every hour, every day, every week, every month,etc. The query templates may thus be analyzed over such periods todetermine changes to the query templates. For example, each querytemplate from one previous period, two previous periods, three previousperiods, four previous periods, are stored and compared to the querytemplates generated for the present period. For example, for querytemplates generated every two months, the query templates generated forone period may compared to query templates generate two months ago.

After analyzing query templates over time, performance metrics aredetermined (block 606). For example, if the query templates become lessspecific and contain less term types over time, this may indicate thatthe interpretations provided for the users' geographical search queriesare relatively accurate, enabling users to specific a lower number ofterms when entering a geographical search query. Additionally, in someembodiments analyzing the query templates over time is used to determinequery usages (block 608). Because the queries are generated frompreviously executed queries that are received from users, the changes inthe query templates over time correspond to changes in users' queries.The changes in users' queries may indicate how queries for a specificcontext are changing over time. For example, users in a specific localemay stop specifying certain terms in queries or may start includingcertain terms in queries, and such changes are reflected in the termtypes of the query templates.

Additionally, the query templates are used to generate n-grams andprefixes for various linguistic processes (block 610). For example,popular query templates for a context (e.g., the query templates havingthe highest probabilities or that provide the most popularinterpretation candidates) are used as a basis for generating n-gramsand prefixes for certain terms. In some embodiments, the n-grams andprefixes are used to provide spelling corrections (block 612), such asfor subsequent geographical search queries or other queries.Additionally, in some embodiments, the n-grams and prefixes are used toprovide query suggestions (block 614), such as for subsequentgeographical search queries. For example, when a user begins to enter ageographical search query, an “autocomplete” suggestion may be providedfor the query based on the n-grams and prefixes determined from popularquery templates.

FIG. 7 is a block diagram of an exemplary system 700 for implementingthe techniques described herein. The system 700 includes a querytemplate system 702, a geographic search engine 704, and a clientapplication 706. These components of the system 700 communicate over anetwork 708, such as the Internet, an intranet, a local area network(LAN), a wide area network (WAN), or any other suitable network. Thequery template system 702 includes a query template generator 710 and aquery interpreter 712. Additionally, the query template system 702includes a query templates repository 714 that includes generated querytemplates for one or more contexts.

The query template system 702 and geographic search engine 704 areimplemented on one or more computers, such as on multiple computers of adata processing center or a distributed computing environment. Forexample, the various components of the system 700 may be executed onmultiple computers, at multiple locations, in any suitable distributionof components. In such embodiments, data is transferred over a networkor multiple networks among the various components. The clientapplication 706 may be executed on a client computer, such as asmartphone, tablet computer, laptop computer, desktop computer, etc.

The query template generator 710 generates query templates from searchlogs as described above in FIG. 3, and may also obtain logs of useractions associated with queries. The query template generator 710obtains search logs from the geographic search engine and storesgenerated query templates in the query templates repository 714. Thequery interpreter 712 receives and interprets a geographical searchquery, such as from the geographic search engine 704. For example, ageographical search query is input into the client application 706,transmitted to the geographic search engine 704 over the network 708,and provided to the query interpreter 712. As described above in FIG. 2,the query interpreter interprets a geographical search query based onthe query templates stored in the query templates repository 714 andprovide ranked interpretation candidates. Based on the rankedinterpretation candidates, the geographic search engine 704 provides aresult to the geographical search query. The result determined by thegeographic search engine 704 and transmitted to the client application706. The client application 706 receives the result and display theresult to a user. As described above, in some embodiments the clientapplication 706 receives multiple results based on multipleinterpretation candidates and provide these results to the user forreview and selection of one of the results.

FIG. 8 depicts a computer 800 in accordance with an embodiment of thepresent invention. Various portions or sections of systems and methodsdescribed herein include or are executed on one or more computerssimilar to computer 800 and programmed as special-purpose machinesexecuting some or all steps of methods described above as executablecomputer code. Further, processes and modules described herein may beexecuted by one or more processing systems similar to that of computer800.

The computer 800 may include various internal and external componentsthat contribute to the function of the device and which may allow thecomputer 800 to function in accordance with the techniques discussedherein. As will be appreciated, various components of computer 800 maybe provided as internal or integral components of the computer 800 ormay be provided as external or connectable components. It should furtherbe noted that FIG. 8 depicts merely one example of a particularimplementation and is intended to illustrate the types of components andfunctionalities that may be present in computer 800.

Computer 800 may include any combination of devices or software that mayperform or otherwise provide for the performance of the techniquesdescribed herein. For example, computer 800 may include or be acombination of a cloud-computing system, a data center, a server rack orother server enclosure, a server, a virtual server, a desktop computer,a laptop computer, a tablet computer, a mobile telephone, a personaldigital assistant (PDA), a media player, a game console, avehicle-mounted computer, or the like. The computer 800 may be a unifieddevice providing any one of or a combination of the functionality of amedia player, a cellular phone, a personal data organizer, a gameconsole, and so forth. Computer 800 may also be connected to otherdevices that are not illustrated, or may operate as a stand-alonesystem. In addition, the functionality provided by the illustratedcomponents may in some embodiments be combined in fewer components ordistributed in additional components. Similarly, in some embodiments,the functionality of some of the illustrated components may not beprovided or other additional functionality may be available.

In addition, the computer 800 may allow a user to connect to andcommunicate through a network 814 (e.g., the Internet, a local areanetwork, a wide area network, etc.) and to acquire data from asatellite-based positioning system (e.g., GPS). For example, thecomputer 800 may allow a user to communicate using e-mail, textmessaging, instant messaging, or using other forms of electroniccommunication, and may allow a user to obtain the location of the devicefrom a satellite-based positioning system, such as the location on aninteractive geographic map. As shown in FIG. 8, the computer 800 mayinclude one or more processors (e.g., processors 802 a-802 n) coupled toa memory 804, a display 806, I/O ports 808 and a network interface 810,via an interface 816.

In one embodiment, the display 806 may include a liquid crystal display(LCD) or an organic light emitting diode (OLED) display, although otherdisplay technologies may be used in other embodiments. The display 806may display a user interface (e.g., a graphical user interface). Thedisplay 806 may also display various function and system indicators toprovide feedback to a user, such as power status, call status, memorystatus, etc. These indicators may be in incorporated into the userinterface displayed on the display 806. In accordance with someembodiments, the display 806 may include or be provided in conjunctionwith touch sensitive elements through which a user may interact with theuser interface. Such a touch-sensitive display may be referred to as a“touch screen” and may also be known as or called a touch-sensitivedisplay system.

The processor 802 may provide the processing capability required toexecute the operating system, programs, user interface, and anyfunctions of the computer 800. The processor 802 may include one or moreprocessors and include “general-purpose” microprocessors and specialpurpose microprocessors, such as ASICs. For example, the processor 802may include one or more reduced instruction set (RISC) processors, suchas those implementing the Advanced RISC Machine (ARM) instruction set.Additionally, the processor 802 may include single-core processors andmulticore processors and may include graphics processors, videoprocessors, and related chip sets. A processor may receive instructionsand data from a memory (e.g., system memory 804). Accordingly, computer800 may be a uni-processor system including one processor (e.g.,processor 802 a), or a multi-processor system including any number ofsuitable processors (e.g., 802 a-802 n). Multiple processors may beemployed to provide for parallel or sequential execution of one or moresections of the techniques described herein. Processes, such as logicflows, described herein may be performed by one or more programmableprocessors executing one or more computer programs to perform functionsby operating on input data and generating corresponding output.

The memory 804 (which may include one or more tangible non-transitorycomputer readable storage medium) may include volatile memory andnon-volatile memory accessible by the processor 802 and other componentsof the computer 800. The memory 804 may store a variety of informationand may be used for a variety of purposes. For example, the memory 804may store executable computer code, such as the firmware for thecomputer 800, an operating system for the computer 800, and any otherprograms or other executable code necessary for the computer 800 tofunction. The executable computer code may include program instructions818 executable by a processor (e.g., one or more of processors 802 a-802n) to implement one or more embodiments of the present invention.Instructions 818 may include modules of computer program instructionsfor implementing one or more techniques described herein with regard tovarious processing modules. Program instructions 818 may include acomputer program (which in certain forms is known as a program,software, software application, script, or code). A computer program maybe written in a programming language, including compiled or interpretedlanguages, or declarative or procedural languages. A computer programmay include a unit suitable for use in a computing environment,including as a stand-alone program, a module, a component, a subroutine.A computer program may or may not correspond to a file in a file system.A program may be stored in a section of a file that holds other programsor data (e.g., one or more scripts stored in a markup languagedocument), in a single file dedicated to the program in question, or inmultiple coordinated files (e.g., files that store one or more modules,sub programs, or sections of code). A computer program may be deployedto be executed on one or more computer processors located locally at onesite or distributed across multiple remote sites and interconnected by acommunication network. In addition, the memory 804 may be used forbuffering or caching during operation of the computer 800.

As mentioned above, the memory 804 may include volatile memory, such asrandom access memory (RAM). The memory 804 may also include non-volatilememory, such as ROM, flash memory, a hard drive, any other suitableoptical, magnetic, or solid-state storage medium, or a combinationthereof. The memory 804 may store data files such as media (e.g., musicand video files), software (e.g., for implementing functions on computer800), preference information (e.g., media playback preferences),transaction information (e.g., information such as credit cardinformation), wireless connection information (e.g., information thatmay enable media device to establish a wireless connection such as atelephone connection), telephone information (e.g., telephone numbers),and any other suitable data.

The interface 816 may include multiple interfaces and may couple variouscomponents of the computer 800 to the processor 802 and memory 804. Insome embodiments, the interface 816, the processor 802, memory 804, andone or more other components of the computer 800 may be implemented on asingle chip, such as a system-on-a-chip (SOC). In other embodiments,these components, their functionalities, or both may be implemented onseparate chips. The interface 816 may be configured to coordinate I/Otraffic between processors 802 a-802 n, system memory 804, networkinterface 810, I/O devices 812, other peripheral devices, or acombination thereof. The interface 816 may perform protocol, timing orother data transformations to convert data signals from one component(e.g., system memory 804) into a format suitable for use by anothercomponent (e.g., processors 802 a-802 n). The interface 816 may includesupport for devices attached through various types of peripheral buses,such as a variant of the Peripheral Component Interconnect (PCI) busstandard or the Universal Serial Bus (USB) standard.

The computer 800 may also include an input and output port 808 to allowconnection of additional devices, such as I/O devices 812. Embodimentsof the present invention may include any number of input and outputports 808, including headphone and headset jacks, universal serial bus(USB) ports, Firewire or IEEE-1394 ports, and AC and DC powerconnectors. Further, the computer 800 may use the input and output portsto connect to and send or receive data with any other device, such asother portable computers, personal computers, printers, etc.

The computer 800 depicted in FIG. 8 also includes a network interface810, such as a wired network interface card (NIC), wireless (e.g., radiofrequency) interface cards, etc. For example, the network interface 810may receive and send electromagnetic signals and communicate withcommunications networks and other communications devices via theelectromagnetic signals. The network interface 810 may include knowncircuitry for performing these functions, including an antenna system,an RF transceiver, one or more amplifiers, a tuner, one or moreoscillators, a digital signal processor, a CODEC chipset, a subscriberidentity module (SIM) card, memory, and so forth. The network interface810 may communicate with networks (e.g., network 814), such as theInternet, an intranet, a cellular telephone network, a wireless localarea network (LAN), a metropolitan area network (MAN), or other devicesby wireless communication. The communication may use any suitablecommunications standard, protocol and technology, including Ethernet,Global System for Mobile Communications (GSM), Enhanced Data GSMEnvironment (EDGE), a 3G network (e.g., based upon the IMT-2000standard), high-speed downlink packet access (HSDPA), wideband codedivision multiple access (W-CDMA), code division multiple access (CDMA),time division multiple access (TDMA), a 4G network (e.g., IMT Advanced,Long-Term Evolution Advanced (LTE Advanced), etc.), Bluetooth, WirelessFidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g or IEEE802.11n), voice over Internet Protocol (VoIP), Wi-MAX, a protocol foremail (e.g., Internet message access protocol (IMAP) or post officeprotocol (POP)), messaging (e.g., extensible messaging and presenceprotocol (XMPP), Session Initiation Protocol for Instant Messaging andPresence Leveraging Extensions (SIMPLE), Instant Messaging and PresenceService (IMPS)), Multimedia Messaging Service (MMS), Short MessageService (SMS), or any other suitable communication protocol.

Various embodiments may further include receiving, sending or storinginstructions and/or data implemented in accordance with the foregoingdescription upon a computer-accessible medium. Generally speaking, acomputer-accessible/readable storage medium may include a non-transitorystorage media such as magnetic or optical media, (e.g., disk orDVD/CD-ROM), volatile or non-volatile media such as RAM (e.g. SDRAM,DDR, RDRAM, SRAM, etc.), ROM, etc., as well as transmission media orsignals such as electrical, electromagnetic, or digital signals,conveyed via a communication medium such as network and/or a wirelesslink.

Further modifications and alternative embodiments of various aspects ofthe invention will be apparent to those skilled in the art in view ofthis description. Accordingly, this description is to be construed asillustrative only and is for the purpose of teaching those skilled inthe art the general manner of carrying out the invention. It is to beunderstood that the forms of the invention shown and described hereinare to be taken as examples of embodiments. Elements and materials maybe substituted for those illustrated and described herein, parts andprocesses may be reversed or omitted, and certain features of theinvention may be utilized independently, all as would be apparent to oneskilled in the art after having the benefit of this description of theinvention. Changes may be made in the elements described herein withoutdeparting from the spirit and scope of the invention as described in thefollowing claims. Headings used herein are for organizational purposesonly and are not meant to be used to limit the scope of the description.

As used throughout this application, the word “may” is used in apermissive sense (i.e., meaning having the potential to), rather thanthe mandatory sense (i.e., meaning must). The words “include”,“including”, and “includes” mean including, but not limited to. As usedthroughout this application, the singular forms “a”, “an” and “the”include plural referents unless the content clearly indicates otherwise.Thus, for example, reference to “an element” includes a combination oftwo or more elements. Unless specifically stated otherwise, as apparentfrom the discussion, it is appreciated that throughout thisspecification discussions utilizing terms such as “processing”,“computing”, “calculating”, “determining” or the like refer to actionsor processes of a specific apparatus, such as a special purpose computeror a similar special purpose electronic processing/computing device. Inthe context of this specification, a special purpose computer or asimilar special purpose electronic processing/computing device iscapable of manipulating or transforming signals, typically representedas physical electronic or magnetic quantities within memories,registers, or other information storage devices, transmission devices,or display devices of the special purpose computer or similar specialpurpose electronic processing/computing device.

What is claimed is:
 1. A computer-implemented method for interpretinggeographical search queries, comprising: receiving a geographical searchquery from a client computer; obtaining, by one or more processors, aplurality of geographical search queries, each of the plurality ofgeographical search queries having a plurality of terms; determining, bythe one or more processors, a plurality of query templates based on theplurality of geographical search queries, each of the plurality of querytemplates including an arrangement of several geographic term typesdetermined from the plurality of terms, wherein at least some of theplurality of query templates have different arrangements of geographicterm types for different locales or languages; determining, by the oneor more processors, one or more query templates of the plurality ofquery templates corresponding to different locales or languages; andproviding, by the one or more processors, the one or more querytemplates as one or more interpretation candidates for interpreting thegeographical search query corresponding to a locale or language fromwhich the geographical search query was received.
 2. Thecomputer-implemented method of claim 1, wherein determining the one ormore query templates corresponding to different locales or languagesincludes determining probability distributions for the plurality ofquery templates.
 3. The computer-implemented method of claim 2, whereinthe probability distributions provide a likelihood that a certain querytemplate is a correct interpretation for a given geographical searchquery and a given locale or language.
 4. The computer-implemented methodof claim 3, further comprising: selecting, by the one or moreprocessors, one of the one or more interpretation candidates; andobtaining, by the one or more processors, search results for thegeographic search query based on the selected interpretation candidate.5. The computer-implemented method of claim 4, further comprising:providing, by the one or more processors, the search results to theclient computer.
 6. The computer-implemented method of claim 4, whereinselecting one of the one or more interpretation candidates includes:ranking, by the one or more processors, the one or more interpretationcandidates based on the likelihoods that each of the interpretationcandidates is the correct interpretation for the given geographic searchquery and the given locale or language; and selecting, by the one ormore processors, a highest ranking interpretation candidates of the oneor more interpretation candidates.
 7. The computer-implemented method ofclaim 1, wherein the several geographic term types include two or moreof: a number of an address, a route, a locality, a type of entity, aprovince, a state, and a country.
 8. The computer-implemented method ofclaim 1, wherein the at least some of the plurality of query templateshaving different arrangements of geographic term types for differentlocales or languages include a first query template having a pluralityof geographic term types in a first order for a first locale or firstlanguage and a second query template having the same plurality ofgeographic term types in a second order different from the first orderfor a second locale or second language.
 9. The computer-implementedmethod of claim 1, wherein the plurality of query templates aredetermined based on the plurality of geographical search queries anduser actions associated with the plurality of geographical searchqueries, the user actions including at least one of: (i) selecting asearch result or (ii) refining the geographical search query.
 10. Acomputing device for interpreting geographical search queries, thecomputing device comprising: one or more processors; and anon-transitory computer-readable memory coupled to the one or moreprocessors and storing instructions thereon that, when executed by theone or more processors, cause the computing device to: receive ageographical search query from a client computer; obtain a plurality ofgeographical search queries, each of the plurality of geographicalsearch queries having a plurality of terms; determine a plurality ofquery templates based on the plurality of geographical search queries,each of the plurality of query templates including an arrangement ofseveral geographic term types determined from the plurality of terms,wherein at least some of the plurality of query templates have differentarrangements of geographic term types for different locales orlanguages; determine one or more query templates of the plurality ofquery templates corresponding to different locales or languages; andprovide the one or more query templates as one or more interpretationcandidates for interpreting the geographical search query correspondingto a locale or language from which the geographical search query wasreceived.
 11. The computing device of claim 10, wherein to determine theone or more query templates corresponding to different locales orlanguages, the instructions cause the computing device to determineprobability distributions for the plurality of query templates.
 12. Thecomputing device of claim 11, wherein the probability distributionsprovide a likelihood that a certain query template is a correctinterpretation for a given geographical search query and a given localeor language.
 13. The computing device of claim 12, wherein theinstructions further cause the computing device to: select one of theone or more interpretation candidates; and obtain search results for thegeographic search query based on the selected interpretation candidate.14. The computing device of claim 12, wherein the instructions furthercause the computing device to provide the search results to the clientcomputer.
 15. The computing device of claim 12, wherein to select one ofthe one or more interpretation candidates, the instructions cause thecomputing device to: rank the one or more interpretation candidatesbased on the likelihoods that each of the interpretation candidates isthe correct interpretation for the given geographic search query and thegiven locale or language; and select a highest ranking interpretationcandidates of the one or more interpretation candidates.
 16. Thecomputing device of claim 10, wherein the several geographic term typesinclude two or more of: a number of an address, a route, a locality, atype of entity, a province, a state, and a country.
 17. The computingdevice of claim 10, wherein the at least some of the plurality of querytemplates having different arrangements of geographic term types fordifferent locales or languages include a first query template having aplurality of geographic term types in a first order for a first localeor first language and a second query template having the same pluralityof geographic term types in a second order different from the firstorder for a second locale or second language.
 18. The computing deviceof claim 10, wherein the plurality of query templates are determinedbased on the plurality of geographical search queries and user actionsassociated with the plurality of geographical search queries, the useractions including at least one of: (i) selecting a search result or (ii)refining the geographical search query.
 19. A computer-implementedmethod for displaying search results in response to geographical searchqueries, comprising: receiving, at a client device, a geographicalsearch query from a user at a first locale or in a first language, thegeographical search query having a plurality of terms with anarrangement of geographic term types; obtaining, by the client device, afirst set of search results from a remote computing device in responseto the geographical search query, the first set of search results basedon a first query template of a plurality of query templates having anarrangement of geographic term types corresponding to the first localeor first language from which the geographical search query was received;displaying, by the client device, the first set of search results;receiving, at the client device, a geographical search query from theuser at a second locale or in a second language, the second locale orsecond language different from the first locale or first language, andthe geographical search query having a plurality of terms with anarrangement of geographic term types; obtaining, by the client device, asecond set of search results from the remote computing device inresponse to the geographical search query, the second set of searchresults based on a second query template of a plurality of querytemplates having a different arrangement of geographic term types thanthe first query template and corresponding to the second locale orsecond language from which the geographical search query was received;and displaying, by the client device, the second set of search results.20. The computer-implemented method of claim 15, wherein the geographicterm types include two or more of: a number of an address, a route, alocality, a type of entity, a province, a state, and a country.